<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
	<head>
	<base href="<%=basePath%>">
	<meta charset="utf-8" />
	<title></title>
	<meta name="description" content="overview & stats" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<link href="static/css/bootstrap.min.css" rel="stylesheet" />
	<link href="static/css/bootstrap-responsive.min.css" rel="stylesheet" />
	<link rel="stylesheet" href="static/css/font-awesome.min.css" />
	<link rel="stylesheet" href="static/css/chosen.css" />
	<link rel="stylesheet" href="static/css/ace.min.css" />
	<link rel="stylesheet" href="static/css/ace-responsive.min.css" />
	<link rel="stylesheet" href="static/css/ace-skins.min.css" />
	<link rel="stylesheet" href="static/css/datepicker.css" /><!-- 日期框 -->
	<script type="text/javascript" src="static/js/jquery-1.7.2.js"></script>
	<!--提示框-->
	<script type="text/javascript" src="static/js/jquery.tips.js"></script>
	</head>
<body>
	<form action="product/editProductGift.do" name="giftExchangeForm" id="giftExchangeForm" method="post">
		<div id="centerOfMainFrame">
			<table id="table_report" class="table table-striped table-bordered table-hover">
				<tr>
					<td>兑换码:</td>
					<td>${giftExchange.order_no }</td>
				</tr>
				<tr>
					<td>礼品名称：
					</td>
					<td>${giftExchange.gift_id_name }</td>
				</tr>
				<tr>
					<td>兑换积分:</td>
					<td>
						${giftExchange.total_ex_rose_mun }
					</td>
				</tr>
				<tr>
					<td>兑换数量:</td>
					<td>
						${giftExchange.quantity}
					</td>
				</tr>
				<tr>
					<td>会员昵称:</td>
					<td>
						${giftExchange.m_id_name }
					</td>
				</tr>
				<tr>
					<td>兑换时间:</td>
					<td><fmt:formatDate value="${giftExchange.create_time }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
				</tr>
				<tr>
					<td>兑换状态:</td>
					<td>
						${giftExchange.status_name}
					</td>
				</tr>
				<tr>
					<td>兑换方式:</td>
					<td>
						${giftExchange.exchange_way_name}
					</td>
				</tr>
				<tr>
					<td>邮寄地址:</td>
					<td>
						${giftExchange.address}
					</td>
				</tr>
				<tr>
					<td>操作员:</td>
					<td>
						${giftExchange.operator_name}
					</td>
				</tr>
				<tr>
					<td>操作时间:</td>
					<td><fmt:formatDate value="${giftExchange.operate_time }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
				</tr>
				<tr>
					<td>处理原因：</td>
					<td>${giftExchange.reason}</td>
				</tr>
			</table>
		</div>
	</form>
	
	<!-- 引入 -->
	<script type="text/javascript">window.jQuery || document.write("<script src='static/js/jquery-1.9.1.min.js'>\x3C/script>");</script>
	<script type="text/javascript" src="static/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="static/js/ace-elements.min.js"></script>
	<script type="text/javascript" src="static/js/ace.min.js"></script>
	<script type="text/javascript" src="static/js/chosen.jquery.min.js"></script><!-- 单选框 -->
	<script type="text/javascript" src="static/js/bootstrap-datepicker.min.js"></script><!-- 日期框 -->
	<!-- 编辑框-->
	<script type="text/javascript" charset="utf-8">window.UEDITOR_HOME_URL = "<%=path%>/plugins/ueditor/";</script>
	<script type="text/javascript" charset="utf-8" src="plugins/ueditor/ueditor.config.js"></script>
	<script type="text/javascript" charset="utf-8" src="plugins/ueditor/ueditor.all.js"></script>
	<!-- 编辑框-->
	<script type="text/javascript">
	$(top.hangge());
	$(function() {
		
		//单选框
		$(".chzn-select").chosen(); 
		$(".chzn-select-deselect").chosen({allow_single_deselect:true}); 
		
		//日期框
		$('.date-picker').datepicker();
	});
	</script>
</body>
</html>